Etn\Core\Woocommerce\Hooks D

Total Complexity 368
Dependencies 4
Dependents 1
Total lines 2,028
Lines of code 1,372
Logical lines of code 825
Comment lines 279
Methods 47
Properties 2

Methods 47

Method Rating Maintainability Complexity Lines of code
validate_add_to_cart_item()
D
27
38 124
process_all_once_order_created()
D
28
31 117
insert_attendee_before_add_to_cart()
C
31 30 100
update_event_stock_on_order_status_update()
C
32 30 99
validate_min_max_qty_before_order_submit()
C
32 28 93
etn_cart_item_name()
A
43 16 43
update_event_revenue_on_refunded()
A
44 13 41
etn_woo_cart_coupon_validation()
A
43 11 48
etn_add_cart_item_data()
A
46 10 37
etn_woo_coupon_count_adjustment()
A
49 8 28
review_stock_with_cart_quantity()
A
51 8 26
etn_woo_coupon_markup()
A
48 7 36
disable_undo_notice_for_events()
A
53 8 20
booked_seats()
S
52 7 24
change_purchase_report_status_on_order_status_update()
S
46 6 37
remove_product_from_cart()
S
57 7 17
show_event_ticket_variation_details()
S
54 6 21
add_cart_item_data()
S
57 6 16
hide_order_itemmeta()
S
62 6 11
etn_woo_cart_order_processed()
S
51 5 24
show_zoom_events_details()
S
54 5 21
order_again_custom_meta()
S
56 5 18
etn_total_variation_price()
S
55 5 17
Init()
S
43 3 45
etn_variation_ticket_total_price()
S
60 5 12
change_attendee_payment_status_on_order_status_update()
S
61 5 12
save_cart_item_data()
S
56 4 19
etn_order_page_metabox_callback()
S
49 3 32
email_attendee_ticket_details_on_order_status_update()
S
58 4 16
email_zoom_event_details_on_order_status_update()
S
57 4 16
wc_cart_item_quantity()
S
68 5 6
search_array_by_value()
S
63 4 11
remove_attendee()
S
55 3 21
etn_checkout_callback()
S
56 3 19
before_checkout_check_stock()
S
56 3 19
before_cart_check_stock()
S
57 3 16
etn_redirect_checkout_add_cart()
S
64 4 9
before_submit_order_check_stock()
S
59 3 14
etn_woo_coupon_save_options()
S
55 2 19
etn_checkout_total_ticket_qty()
S
67 3 7
etn_woocommerce_product_get_price()
S
66 3 8
etn_order_page_table_css()
S
64 2 14
etn_woo_coupon_script()
S
65 2 12
get_ticket_price()
S
80 1 3
etn_order_page_metabox_init()
S
65 1 10
add_new_product_type_for_stripe_payment()
S
77 1 4
hide_order_itemmeta_on_order_status_update()
S
65 1 10